package com.jcj.jcjregistry.cluster;

import com.jcj.jcjregistry.model.InstanceMeta;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.util.LinkedMultiValueMap;

import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Snapshot {
    LinkedMultiValueMap<String, InstanceMeta> REGISTRY;
    Map<String,Long> VERSIONS;
    Map<String,Long> TIMESTAMPS;
    long version;
}
